package com.tianwen.management.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *
 * @TableName user_role_permission
 */
@TableName("user_role_permission")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserRolePermission implements Serializable {
    /**
     *
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     *
     */
    private Long userId;

    /**
     *
     */
    private Long roleId;

    /**
     *
     */
    private Long permissionId;

    private Integer isUser;
    private static final long serialVersionUID = 1L;
}
